package com.woniu.mapper;

import com.woniu.entity.ChargingCard;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.vo.ChargingCardVO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
* @author Apricity
* @description 针对表【charging_card(充电卡表)】的数据库操作Mapper
* @createDate 2025-02-13 20:16:58
* @Entity com.woniu.entity.ChargingCard
*/
@Mapper
public interface ChargingCardMapper extends BaseMapper<ChargingCard> {
    List<ChargingCardVO> queryCardWithCustomer(Page<ChargingCardVO> page);
    
    List<ChargingCardVO> queryCardWithCustomerByKeyword(String keyword, Page<ChargingCardVO> page);
    
    List<ChargingCardVO> queryCardWithCustomerExact(String keyword, Page<ChargingCardVO> page);

    int updateChargingCard(ChargingCard chargingCard);
}




